package com.yeyks.mattress.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 共享床垫信息表
 * </p>
 *
 * @author yun
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MattressInfo对象", description="共享床垫信息表")
public class MattressInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "设备Imei编号")
    @TableField("imei_id")
    private String imeiId;

    @ApiModelProperty(value = "设备自编号")
    @TableField("device_id")
    private String deviceId;

    @ApiModelProperty(value = "绑定酒店的ID")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "状态，0 不可用，1 可用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("modify_time")
    private Date modifyTime;

    @ApiModelProperty(value = "操作人id")
    @TableField("operator_id")
    private Integer operatorId;


    public static final String ID = "id";

    public static final String IMEI_ID = "imei_id";

    public static final String DEVICE_ID = "device_id";

    public static final String HOTEL_ID = "hotel_id";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

    public static final String MODIFY_TIME = "modify_time";

    public static final String OPERATOR_ID = "operator_id";

}
